package com.ruoyi.system.service.shopping.impl;

import com.ruoyi.system.domain.shopping.Picture;
import com.ruoyi.system.mapper.shopping.PictureMapper;
import com.ruoyi.system.service.shopping.PictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PictureServiceImpl implements PictureService {
    @Autowired
    private PictureMapper pictureMapper;
    @Override
    public Boolean add(Picture picture) {
        return pictureMapper.insert(picture)>0;
    }
}
